<% if @districts.nil? || @districts.empty? %>

<%= select("community", "district_id", @first_city_districts)%>
<% else%>
<%= select("community", "district_id", @districts)%>

<% end %>